package com.gem.back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gem.back.entity.AoaDept;
import com.gem.back.entity.AoaUser;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hhhy
 * @since 2020-02-22
 */
public interface IAoaDeptService extends IService<AoaDept> {
    /**
     * 根据用户名查找部门
     */
    AoaDept findDeptByName(String userName);

    /**
     * 根据ID查询部门
     */
    AoaDept findOne(Integer id);

    /**
     * 人事调动
     */
//    List<AoaUser> findListByDeptName(String deptName);

}
